#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Termstructures.Volatility.Inflation;
namespace Cephei.QL.Cashflows
{
     // <summary> 
	// ! \note this pricer can already do swaplets but to get volatility-dependent coupons you need the descendents.
	// </summary>
    [Guid ("C17B51AC-76B9-4bd2-B579-DA798692AAA1"),ComVisible(true)]
	public interface IYoYInflationCouponPricer : Cephei.QL.Cashflows.IInflationCouponPricer
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        
		 Double CapletPrice(Double effectiveCap);
        
		 Double CapletRate(Double effectiveCap);
        
		 Cephei.QL.Termstructures.Volatility.Inflation.IYoYOptionletVolatilitySurface CapletVolatility {get;}
        
		 Double FloorletPrice(Double effectiveFloor);
        
		 Double FloorletRate(Double effectiveFloor);
        
		 IYoYInflationCouponPricer Initialize(Cephei.QL.Cashflows.IInflationCoupon coupon);
        
		 IYoYInflationCouponPricer SetCapletVolatility(Cephei.QL.Termstructures.Volatility.Inflation.IYoYOptionletVolatilitySurface capletVol);
        
		 Double SwapletPrice {get;}
        
		 Double SwapletRate {get;}
    }

    // <summary> 
	// ! \note this pricer can already do swaplets but to get volatility-dependent coupons you need the descendents. Factory
	// </summary>
   	[ComVisible(true)]
    public interface IYoYInflationCouponPricer_Factory // : Collection_Factory<IYoYInflationCouponPricer, ICell<IYoYInflationCouponPricer>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    IYoYInflationCouponPricer Create (Microsoft.FSharp.Core.FSharpOption<Cephei.QL.Termstructures.Volatility.Inflation.IYoYOptionletVolatilitySurface> capletVol);
    }
}

